package com.base.cn.platform.os.entity.statistics.trade;

import lombok.Data;

import java.util.Date;

/**
 * 交易订单数据对象
 *
 * @author s.li
 * @date 2019/04/25
 */
@Data
public class TradePayOrderNum {
    /**统计时间（天）*/
    private Date countTime;
    /**总订单量*/
    private Integer orderNum;
    /**录播课程订单量*/
    private Integer videoOrderNum;
    /**专栏课程订单量*/
    private Integer columnsOrderNum;
    /**套餐订单量*/
    private Integer packageOrderNum;
    /**直播课程订单量*/
    private Integer liveOrderNum;
    /**试卷订单量*/
    private Integer examOrderNum;
    /**图上订单量*/
    private Integer bookOrderNum;
    /**会员商品订单量*/
    private Integer memberOrderNum;
    /**问答订单量*/
    private Integer qaOrderNum;
    /**围观订单量*/
    private Integer attendOrderNum;

    public Integer getOrderNum() {
        return orderNum == null ? 0 : orderNum;
    }

    public Integer getVideoOrderNum() {
        return videoOrderNum == null ?0 : videoOrderNum;
    }

    public Integer getColumnsOrderNum() {
        return columnsOrderNum ==null ? 0 : columnsOrderNum;
    }

    public Integer getPackageOrderNum() {
        return packageOrderNum ==null? 0 : packageOrderNum;
    }

    public Integer getLiveOrderNum() {
        return liveOrderNum ==null? 0 : liveOrderNum;
    }

    public Integer getExamOrderNum() {
        return examOrderNum ==null? 0 : examOrderNum;
    }

    public Integer getBookOrderNum() {
        return bookOrderNum==null ? 0 : examOrderNum;
    }

    public Integer getMemberOrderNum() {
        return memberOrderNum ==null ? 0 : memberOrderNum;
    }

    public Integer getQaOrderNum() {
        return qaOrderNum ==null? 0: qaOrderNum;
    }

    public Integer getAttendOrderNum() {
        return attendOrderNum ==null? 0 : attendOrderNum;
    }
}
